<template>
  <div class="categoryDetailBox">
    <goods-list-item
      v-for="(item, index) in categoryDetail"
      :key="index"
      :goods-item="item"
    ></goods-list-item>
  </div>
</template>

<script>
import GoodsListItem from "components/content/goods/GoodsListItem";

export default {
  name: "TabContentDetail",
  components: {
    GoodsListItem
  },
  props: {
    categoryDetail: {
      type: Array,
      default() {
        return [];
      }
    }
  }
};
</script>

<style scoped>
.categoryDetailBox {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
.categoryDetailBox > div {
  margin: 5px 2px;
}
</style>
